package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


@SuppressWarnings("serial")
public class BuzTaskAwardsTj implements Serializable{
    private String rn;
    private String openId;
    private String memberName;
    private String phone;
    private String address;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;
    private Integer totalPoint;
    private String awardsLevel;
    private String receiveAwardsTime;
    private Double awardsMoney;
    // 新增摇摇拉的数据
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date yaoyaolaTime;
    // 摇摇拉状态
    private String yaoyaolaStatus;
	public String getRn() {
		return rn;
	}
	public void setRn(String rn) {
		this.rn = rn;
	}
	public String getOpenId() {
		return openId;
	}
	public void setOpenId(String openId) {
		this.openId = openId;
	}
	public String getMemberName() {
		return memberName;
	}
	public void setMemberName(String memberName) {
		this.memberName = memberName;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public Date getStartTime() {
			return this.startTime;	
	}
	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}
	public Integer getTotalPoint() {
		return totalPoint;
	}
	public void setTotalPoint(Integer totalPoint) {
		this.totalPoint = totalPoint;
	}
	public String getAwardsLevel() {
		return awardsLevel;
	}
	public void setAwardsLevel(String awardsLevel) {
		this.awardsLevel = awardsLevel;
	}
	public String getReceiveAwardsTime() {
		
		if("已领取".equals(this.yaoyaolaStatus)) {
			return receiveAwardsTime; 
		}else {
			return null;
		}
	}
	public void setReceiveAwardsTime(String receiveAwardsTime) {
		this.receiveAwardsTime = receiveAwardsTime;
	}
	public Double getAwardsMoney() {
		return awardsMoney;
	}
	public void setAwardsMoney(Double awardsMoney) {
		this.awardsMoney = awardsMoney;
	}
	public Date getYaoyaolaTime() {
		if("已领取".equals(this.yaoyaolaStatus)) {
			return yaoyaolaTime; 
		}else {
			return null;
		}
		
	}
	public void setYaoyaolaTime(Date yaoyaolaTime) {
		this.yaoyaolaTime = yaoyaolaTime;
	}
	public String getYaoyaolaStatus() {
		return yaoyaolaStatus;
	}
	public void setYaoyaolaStatus(String yaoyaolaStatus) {
		this.yaoyaolaStatus = yaoyaolaStatus;
	}

    
}
